package com.example.bookstore.entity;

import java.util.Date;

public class Order {

    private Integer orderId;

    //订单价格
    private Double money;

    private String receiverAddress;

    private String receiverName;

    private String receiverPhone;

    //支付状态 1已支付 0未支付
    private Integer payState;

    //订单创建时间
    private Date orderTime;

    private Integer userId;

    public Integer getorderId() {
        return orderId;
    }

    public void setorderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getreceiverAddress() {
        return receiverAddress;
    }

    public void setreceiverAddress(String receiverAddress) {
        this.receiverAddress = receiverAddress == null ? null : receiverAddress.trim();
    }

    public String getreceiverName() {
        return receiverName;
    }

    public void setreceiverName(String receiverName) {
        this.receiverName = receiverName == null ? null : receiverName.trim();
    }

    public String getreceiverPhone() {
        return receiverPhone;
    }

    public void setreceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone == null ? null : receiverPhone.trim();
    }

    public Integer getpayState() {
        return payState;
    }

    public void setpayState(Integer payState) {
        this.payState = payState;
    }

    public Date getorderTime() {
        return orderTime;
    }

    public void setorderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Integer getuserId() {
        return userId;
    }

    public void setuserId(Integer userId) {
        this.userId = userId;
    }

}